Warning: Undefined array key "user_id" in /var/www/html/k9entries/admin/edit_competition.php on line 33

Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '{x.id}}' at line 1 in /var/www/html/k9entries/ankc/includes/ankc_competition.php:415 Stack trace: #0 /var/www/html/k9entries/ankc/includes/ankc_competition.php(415): mysqli_query(Object(mysqli), 'select * from c...') #1 /var/www/html/k9entries/admin/edit_competition.php(75): ankc_competition->getFromDB() #2 {main} thrown in /var/www/html/k9entries/ankc/includes/ankc_competition.php on line 415